//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.dao.wills;

import com.aidong.dao.base.OrderSet;
import com.aidong.dao.wills.BaseDao;
import com.aidong.model.wills.PtPackageItem;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public class PtPackageItemDao extends BaseDao<PtPackageItem, Integer> {
    public PtPackageItemDao() {
    }

    public List<PtPackageItem> getPtPackageItemList(String packageCode) {
        return this.queryList("packageCode=:p1", new Object[]{packageCode}, (OrderSet)null, -1);
    }

    public List<PtPackageItem> getPtPackageItemList(String packageCode, String itemType) {
        return this.queryList("packageCode=:p1 and itemType=:p2", new Object[]{packageCode, itemType}, (OrderSet)null, -1);
    }
}
